package com.jz.community.moduleshopping.confirmOrder.bean;

import com.jz.community.basecomm.bean.baseCommInfo.BaseLinkInfo;

import java.util.List;

/**
 * Created by Target on 2018/4/5.
 */

public class SubmitOrderResultBean extends BaseLinkInfo{


    /**
     * id : 59
     * userId : 500000
     * userLink : null
     * platformId : 1
     * platformLink : null
     * bigOrder : 15245623229155694860
     * orderInfoList : [{"id":59,"orderType":null,"platformId":"1","platformLink":null,"orderId":"15245623229995721879","status":"0-00","userId":"500000","userLink":null,"shopId":"42","shopLink":null,"realPrice":49.9,"createDate":"2018-04-24 09:32:02","payDate":null,"addressId":109,"provinceCode":"61000(省市code)","cityCode":"61000(市code)","countyCode":"61000(区code)","addressName":"xuemeng","addressPhone":"18900000001","address":"陕西省西安市","isShopDel":0,"isDel":0,"orderSource":"Android","userInfo":null,"shopInfo":null,"paymentCode":null,"expressName":null,"expressCode":null,"sendType":2,"sendPrice":0,"couponId":null,"couponLink":null,"couponPrice":null,"orderItemList":[{"id":59,"status":"0-00","goodStatus":null,"goodsId":42,"goodsLink":null,"historyLink":null,"goodsName":null,"goodsImg":null,"goodsCount":1,"price":49.9,"discountPrice":49.9,"realPrice":49.9,"skuId":"52","skuLink":null,"skuName":null,"couponId":null,"couponLink":null,"couponPrice":null}],"totalPrice":49.9}]
     * createDate : 2018-04-24 09:32:02
     * payAmount : 49.9
     * links : {"self":{"href":"http://microservice.shoppingyizhan.com/ods/orderunified/59"}}
     */

    public SubmitOrderResultBean(String bigOrder) {
        this.bigOrder = bigOrder;
    }

    private String id;
    private String userId;
    private String userLink;
    private String platformId;
    private String platformLink;
    private String bigOrder;
    private String createDate;
    private String payAmount;
    private EmbeddedBean _embedded;

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserLink() {
        return userLink;
    }

    public void setUserLink(String userLink) {
        this.userLink = userLink;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public String getPlatformLink() {
        return platformLink;
    }

    public void setPlatformLink(String platformLink) {
        this.platformLink = platformLink;
    }

    public String getBigOrder() {
        return bigOrder;
    }

    public void setBigOrder(String bigOrder) {
        this.bigOrder = bigOrder;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(String payAmount) {
        this.payAmount = payAmount;
    }

    public static class EmbeddedBean {
        private List<OrderInfoListBean> orderInfoList;

        public List<OrderInfoListBean> getOrderInfoList() {
            return orderInfoList;
        }

        public void setOrderInfoList(List<OrderInfoListBean> orderInfoList) {
            this.orderInfoList = orderInfoList;
        }

        public static class OrderInfoListBean {
            /**
             * id : 59
             * orderType : null
             * platformId : 1
             * platformLink : null
             * orderId : 15245623229995721879
             * status : 0-00
             * userId : 500000
             * userLink : null
             * shopId : 42
             * shopLink : null
             * realPrice : 49.9
             * createDate : 2018-04-24 09:32:02
             * payDate : null
             * addressId : 109
             * provinceCode : 61000(省市code)
             * cityCode : 61000(市code)
             * countyCode : 61000(区code)
             * addressName : xuemeng
             * addressPhone : 18900000001
             * address : 陕西省西安市
             * isShopDel : 0
             * isDel : 0
             * orderSource : Android
             * userInfo : null
             * shopInfo : null
             * paymentCode : null
             * expressName : null
             * expressCode : null
             * sendType : 2
             * sendPrice : 0
             * couponId : null
             * couponLink : null
             * couponPrice : null
             * orderItemList : [{"id":59,"status":"0-00","goodStatus":null,"goodsId":42,"goodsLink":null,"historyLink":null,"goodsName":null,"goodsImg":null,"goodsCount":1,"price":49.9,"discountPrice":49.9,"realPrice":49.9,"skuId":"52","skuLink":null,"skuName":null,"couponId":null,"couponLink":null,"couponPrice":null}]
             * totalPrice : 49.9
             */

            private String id;
            private String orderType;
            private String platformId;
            private String platformLink;
            private String orderId;
            private String status;
            private String userId;
            private String userLink;
            private String shopId;
            private String shopLink;
            private String realPrice;
            private String createDate;
            private String payDate;
            private String addressId;
            private String provinceCode;
            private String cityCode;
            private String countyCode;
            private String addressName;
            private String addressPhone;
            private String address;
            private int isShopDel;
            private int isDel;
            private String orderSource;
            private String userInfo;
            private String shopInfo;
            private String paymentCode;
            private String expressName;
            private String expressCode;
            private int sendType;
            private String sendPrice;
            private String couponId;
            private String couponLink;
            private String couponPrice;
            private String totalPrice;
            private List<OrderItemListBean> orderItemList;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrderType() {
                return orderType;
            }

            public void setOrderType(String orderType) {
                this.orderType = orderType;
            }

            public String getPlatformId() {
                return platformId;
            }

            public void setPlatformId(String platformId) {
                this.platformId = platformId;
            }

            public String getPlatformLink() {
                return platformLink;
            }

            public void setPlatformLink(String platformLink) {
                this.platformLink = platformLink;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getUserLink() {
                return userLink;
            }

            public void setUserLink(String userLink) {
                this.userLink = userLink;
            }

            public String getShopId() {
                return shopId;
            }

            public void setShopId(String shopId) {
                this.shopId = shopId;
            }

            public String getShopLink() {
                return shopLink;
            }

            public void setShopLink(String shopLink) {
                this.shopLink = shopLink;
            }

            public String getRealPrice() {
                return realPrice;
            }

            public void setRealPrice(String realPrice) {
                this.realPrice = realPrice;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getPayDate() {
                return payDate;
            }

            public void setPayDate(String payDate) {
                this.payDate = payDate;
            }

            public String getAddressId() {
                return addressId;
            }

            public void setAddressId(String addressId) {
                this.addressId = addressId;
            }

            public String getProvinceCode() {
                return provinceCode;
            }

            public void setProvinceCode(String provinceCode) {
                this.provinceCode = provinceCode;
            }

            public String getCityCode() {
                return cityCode;
            }

            public void setCityCode(String cityCode) {
                this.cityCode = cityCode;
            }

            public String getCountyCode() {
                return countyCode;
            }

            public void setCountyCode(String countyCode) {
                this.countyCode = countyCode;
            }

            public String getAddressName() {
                return addressName;
            }

            public void setAddressName(String addressName) {
                this.addressName = addressName;
            }

            public String getAddressPhone() {
                return addressPhone;
            }

            public void setAddressPhone(String addressPhone) {
                this.addressPhone = addressPhone;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public int getIsShopDel() {
                return isShopDel;
            }

            public void setIsShopDel(int isShopDel) {
                this.isShopDel = isShopDel;
            }

            public int getIsDel() {
                return isDel;
            }

            public void setIsDel(int isDel) {
                this.isDel = isDel;
            }

            public String getOrderSource() {
                return orderSource;
            }

            public void setOrderSource(String orderSource) {
                this.orderSource = orderSource;
            }

            public String getUserInfo() {
                return userInfo;
            }

            public void setUserInfo(String userInfo) {
                this.userInfo = userInfo;
            }

            public String getShopInfo() {
                return shopInfo;
            }

            public void setShopInfo(String shopInfo) {
                this.shopInfo = shopInfo;
            }

            public String getPaymentCode() {
                return paymentCode;
            }

            public void setPaymentCode(String paymentCode) {
                this.paymentCode = paymentCode;
            }

            public String getExpressName() {
                return expressName;
            }

            public void setExpressName(String expressName) {
                this.expressName = expressName;
            }

            public String getExpressCode() {
                return expressCode;
            }

            public void setExpressCode(String expressCode) {
                this.expressCode = expressCode;
            }

            public int getSendType() {
                return sendType;
            }

            public void setSendType(int sendType) {
                this.sendType = sendType;
            }

            public String getSendPrice() {
                return sendPrice;
            }

            public void setSendPrice(String sendPrice) {
                this.sendPrice = sendPrice;
            }

            public String getCouponId() {
                return couponId;
            }

            public void setCouponId(String couponId) {
                this.couponId = couponId;
            }

            public String getCouponLink() {
                return couponLink;
            }

            public void setCouponLink(String couponLink) {
                this.couponLink = couponLink;
            }

            public String getCouponPrice() {
                return couponPrice;
            }

            public void setCouponPrice(String couponPrice) {
                this.couponPrice = couponPrice;
            }

            public String getTotalPrice() {
                return totalPrice;
            }

            public void setTotalPrice(String totalPrice) {
                this.totalPrice = totalPrice;
            }

            public List<OrderItemListBean> getOrderItemList() {
                return orderItemList;
            }

            public void setOrderItemList(List<OrderItemListBean> orderItemList) {
                this.orderItemList = orderItemList;
            }

            public static class OrderItemListBean {
                /**
                 * id : 59
                 * status : 0-00
                 * goodStatus : null
                 * goodsId : 42
                 * goodsLink : null
                 * historyLink : null
                 * goodsName : null
                 * goodsImg : null
                 * goodsCount : 1
                 * price : 49.9
                 * discountPrice : 49.9
                 * realPrice : 49.9
                 * skuId : 52
                 * skuLink : null
                 * skuName : null
                 * couponId : null
                 * couponLink : null
                 * couponPrice : null
                 */

                private String id;
                private String status;
                private String goodStatus;
                private String goodsId;
                private String goodsLink;
                private String historyLink;
                private String goodsName;
                private String goodsImg;
                private int goodsCount;
                private String price;
                private String discountPrice;
                private String realPrice;
                private String skuId;
                private String skuLink;
                private String skuName;
                private String couponId;
                private String couponLink;
                private String couponPrice;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public String getGoodStatus() {
                    return goodStatus;
                }

                public void setGoodStatus(String goodStatus) {
                    this.goodStatus = goodStatus;
                }

                public String getGoodsId() {
                    return goodsId;
                }

                public void setGoodsId(String goodsId) {
                    this.goodsId = goodsId;
                }

                public String getGoodsLink() {
                    return goodsLink;
                }

                public void setGoodsLink(String goodsLink) {
                    this.goodsLink = goodsLink;
                }

                public String getHistoryLink() {
                    return historyLink;
                }

                public void setHistoryLink(String historyLink) {
                    this.historyLink = historyLink;
                }

                public String getGoodsName() {
                    return goodsName;
                }

                public void setGoodsName(String goodsName) {
                    this.goodsName = goodsName;
                }

                public String getGoodsImg() {
                    return goodsImg;
                }

                public void setGoodsImg(String goodsImg) {
                    this.goodsImg = goodsImg;
                }

                public int getGoodsCount() {
                    return goodsCount;
                }

                public void setGoodsCount(int goodsCount) {
                    this.goodsCount = goodsCount;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getDiscountPrice() {
                    return discountPrice;
                }

                public void setDiscountPrice(String discountPrice) {
                    this.discountPrice = discountPrice;
                }

                public String getRealPrice() {
                    return realPrice;
                }

                public void setRealPrice(String realPrice) {
                    this.realPrice = realPrice;
                }

                public String getSkuId() {
                    return skuId;
                }

                public void setSkuId(String skuId) {
                    this.skuId = skuId;
                }

                public String getSkuLink() {
                    return skuLink;
                }

                public void setSkuLink(String skuLink) {
                    this.skuLink = skuLink;
                }

                public String getSkuName() {
                    return skuName;
                }

                public void setSkuName(String skuName) {
                    this.skuName = skuName;
                }

                public String getCouponId() {
                    return couponId;
                }

                public void setCouponId(String couponId) {
                    this.couponId = couponId;
                }

                public String getCouponLink() {
                    return couponLink;
                }

                public void setCouponLink(String couponLink) {
                    this.couponLink = couponLink;
                }

                public String getCouponPrice() {
                    return couponPrice;
                }

                public void setCouponPrice(String couponPrice) {
                    this.couponPrice = couponPrice;
                }
            }
        }
    }

}
